package com.example.car.service;

import com.example.car.entity.Order;
import com.example.car.vo.OrderVo;
import com.example.car.vo.TimeConditionVo;

import java.util.List;

public interface OrderService {
    List<Order> list(String userId, int page, int limit);

    boolean addOrder(OrderVo order, String userId, String orderId);

    boolean payOrder(String orderId);

    Double orderStatistics(TimeConditionVo timeConditionVo);

    Long getTotal(String userId);

}
